package com.fxp.project.jiuselu.web.models.fare.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fxp.project.jiuselu.web.models.fare.entity.JslUserFareApplied;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 用户已申请发票表 服务类
 * </p>
 *
 * @author Jason.Wang
 * @since 2021-11-24
 */
public interface IJslUserFareAppliedService extends IService<JslUserFareApplied> {

    /**
     * selectJslUserFareAppliedListById: 查询当前用户的开票历史<br/>
     * @author Jason.Wang
     * @date 2021/11/25 12:05 上午
     * @param currentPage
     * @param pageSize
     * @param currentDate
     * @param userId
     * @return
     */
    PageInfo<?> selectJslUserFareAppliedListById(Integer currentPage, Integer pageSize, LocalDateTime currentDate, Long userId);

    List<JslUserFareApplied> selectUserFareAppliedList(BigDecimal fareMoney,String phone);
}
